<body class="app" data-ad="true">

<section class="app-content">
	<section class="page page-index noline" data-plugin-type="info_front">
        <div class="top-bar">余额详情<a href="<?php echo $this->url('my', array('action'=>'home'));?>" class="btn-t-back"></a></div>
        <div class="my-balance bw">
            <p>我的余额</p>
            <p>¥<span class="b-total"><?php echo $this->escapeHtml($user['balance']);?></span></p>
        </div>

        <h3 class="balance-tit">余额明细</h3>
        <table class="b-des-table">
            <thead>
                <th class="t01">序号</th>
                <th class="t02">时间</th>
                <th class="t03">详情</th>
                <th class="t04">金额</th>
                <th>备注</th>
            </thead>
            <tbody>
            <?php foreach ($this->list as $key => $log) : ?>
                <tr>
                    <td><?php echo $key+1;?></td>
                    <td><?php echo $this->escapeHtml($log['ubl_create_time']);?></td>
                    <td><?php echo $this->escapeHtml($log['ubl_detail']);?></td>
                    <td><?php echo $this->escapeHtml(empty($log['ubl_income'])?'-'.$log['ubl_outcome']:$log['ubl_income']);?></td>
                    <td><?php echo $this->escapeHtml($log['ubl_remark']);?></td>
                </tr>
               <?php endforeach; ?>
            </tbody>
        </table>
	</section>

    <!-- 底部menu-->
    <?php echo $this->partial('public/menu.phtml'); ?>
</section>


<script type="text/javascript">
$(function () {
});
</script>
